
package entities;
import java.sql.Date;



/**
 * @author HungVM
 * @version 1.0
 * @created 12-Thg10-2011 10:44:26 CH
 */
public class User {

    private String address;
    private Branch branchId;
    private Date birthDay;
    private String FullName;
    private String identity;
    private boolean isLock;
    private String passWord;
    private String phone;
    private boolean status;
    private int userId;
    private String userName;
    private String email;
    private boolean sex;
    private String note;
    private UserType userType;
    //public LoanContact m_LoanContact;

    public User(){

    }

    public User(String address, Branch branchId, Date brithDay, String FullName, String identity, boolean isLock, String passWord, String phone, boolean status, int userId, String userName, String email, boolean sex, String note,UserType userType) {
        this.address = address;
        this.branchId = branchId;
        this.birthDay = brithDay;
        this.FullName = FullName;
        this.identity = identity;
        this.isLock = isLock;
        this.passWord = passWord;
        this.phone = phone;
        this.status = status;
        this.userId = userId;
        this.userName = userName;
        this.email = email;
        this.sex = sex;
        this.note = note;
        this.userType = userType;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    
    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public boolean isSex() {
        return sex;
    }

    public void setSex(boolean sex) {
        this.sex = sex;
    }

    

    public String getFullName() {
        return FullName;
    }

    public void setFullName(String FullName) {
        this.FullName = FullName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Branch getBranchId() {
        return branchId;
    }

    public void setBranchId(Branch branchId) {
        this.branchId = branchId;
    }

    public Date getBirthDay() {
        return birthDay;
    }

    public void setBirthDay(Date brithDay) {
        this.birthDay = brithDay;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public boolean isIsLock() {
        return isLock;
    }

    public void setIsLock(boolean isLock) {
        this.isLock = isLock;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public UserType getUserType() {
        return userType;
    }

    public void setUserType(UserType userType) {
        this.userType = userType;
    }

    


}